package com.example.hxds.bff.customer.service;

import com.example.hxds.bff.customer.controller.form.*;
import com.example.hxds.common.util.PageUtils;
import com.example.hxds.common.util.R;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.HashMap;

/**
 * @Author XUYANG
 * @Date 2024-04-09 13:44
 */
public interface VoucherService {
    public PageUtils searchUnTakeVoucherByPage(SearchUnTakeVoucherByPageForm form);

    public PageUtils searchUnUseVoucherByPage(SearchUnUseVoucherByPageForm form);

    public PageUtils searchUsedVoucherByPage(SearchUsedVoucherByPageForm form);
    public long searchUnUseVoucherCount(SearchUnUseVoucherCountForm form);
    public boolean takeVoucher(TakeVoucherForm form);
}
